<h2>Inicio</h2>
<?php
global $tbooks;
$q = 'SELECT * FROM ' . $tbooks;
$res = mysqli_query($conn,$q);
echo '<h3>Cantidad de libros: ' . mysqli_num_rows($res) . '</h3>';

$q = 'SELECT * FROM ' . $tcateg;
$res = mysqli_query($conn,$q);
echo '<h3>Cantidad de categor&iacute;as: ' . mysqli_num_rows($res) . '</h3>';
